
package com.eltonkent.ui.containers;

public class FolderListContainer
{
	private final String folderName;
	private final String folderDesc;
	private final String folderIcon;
	private final boolean isLocked;

	// public static final int TYPE_GENERAL = 0;
	// public static final int TYPE_BANK = 1;
	// public static final int TYPE_FAMILY = 2;
	// public static final int TYPE_PERSON = 3;
	// public static final int TYPE_INTERNET = 4;
	// public static final int TYPE_SOFTWARE = 5;

	public static final int LOCK_LOCKED = 13;
	public static final int LOCK_UNLOCKED = 23;

	// public static int[] getAllFolders() {
	// return new int[] { TYPE_GENERAL, TYPE_BANK, TYPE_PERSON, TYPE_INTERNET,
	// TYPE_SOFTWARE };
	// }

	// public static String getXMLResForFolder(int folderId) {
	// switch (folderId) {
	// // case TYPE_BANK:
	// // return "xml/finance.xml";
	// // case TYPE_FAMILY:
	// // return "xml/personal.xml";
	// // case TYPE_PERSON:
	// // return "xml/personal.xml";
	// // case TYPE_INTERNET:
	// // return "xml/internet.xml";
	// // case TYPE_SOFTWARE:
	// // return "xml/software.xml";
	// // case TYPE_GENERAL:
	// // return "xml/general.xml";
	// default:
	// return "xml/personal.xml";
	// }
	//
	// }

	// public static int getIconResourceForFolder(int folderType) {
	// switch (folderType) {
	// case FolderListContainer.TYPE_BANK:
	// return R.drawable.folderfinance;
	// case FolderListContainer.TYPE_INTERNET:
	// return R.drawable.folderinternet;
	// case FolderListContainer.TYPE_FAMILY:
	// return R.drawable.folderfamily;
	// case FolderListContainer.TYPE_PERSON:
	// return R.drawable.folderpersonal;
	// case FolderListContainer.TYPE_SOFTWARE:
	// return R.drawable.foldersoftware;
	// default:
	// return R.drawable.foldericon;
	// }
	// }

	public FolderListContainer(String folderName, String description, String folderIcon, boolean lockStatus)
	{
		this.folderName = folderName;
		this.folderDesc = description;
		this.folderIcon = folderIcon;
		this.isLocked = lockStatus;
	}

	public String getFolderDesc()
	{
		return folderDesc;
	}

	public String getFolderIcon()
	{
		return folderIcon;
	}

	public String getFolderName()
	{
		return folderName;
	}

	public boolean isLocked()
	{
		return isLocked;
	}
}
